﻿using DevExpress.XtraEditors;
using DLL;
using NursingFormSystem.Common;
using NursingFormSystem.Model;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace NursingFormSystem.HealthEducationRSFNU
{
    public partial class AddHealthEducationRSFNU : Form
    {
        #region 变量声明
        public NursingFormSystem.NurFormsService.NursingForm formService = new NursingFormSystem.NurFormsService.NursingForm();
        NursingFormRecord record = new NursingFormRecord();
        Tb_User LoginUser;   //员工信息
        PatientInfo Patientinfo;    //患者信息
        string Id = string.Empty;
        #endregion

        #region 构造函数
        public AddHealthEducationRSFNU(Tb_User loginUser, PatientInfo patientInfo)
        {
            InitializeComponent();
            this.LoginUser = loginUser;
            this.Patientinfo = patientInfo;
            BindInfo(this.Id);
            BindControl();
        }

        public AddHealthEducationRSFNU(string[] loginUser, string[] patientInfo)
        {
            InitializeComponent();
            this.LoginUser = ArrayToObject.ArrayToLoginUser(loginUser);
            this.Patientinfo = ArrayToObject.ArrayToPatientInfo(patientInfo);
            BindInfo(this.Id);
            BindControl();
        }
        #endregion

        #region 查询
        private void Btn_ChaXun_Click(object sender, EventArgs e)
        {
            BindInfo(this.Id);
        }
        #endregion

        #region 查询共用方法
        public void BindInfo(string id)
        {
            var ret = formService.GetNursingFormRecordOrderByTime(Patientinfo.PATIENT_ID, Patientinfo.VISIT_ID, (int)FormType.HealthERecordBaby, 1);
            if (ret.Code == 1)
            {
                List<NursingFormRecord> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<NursingFormRecord>>(ret.D);
                if (string.IsNullOrEmpty(this.Id))
                    record = list[0];
                else
                    record = list.Find(p => p.Id == Convert.ToInt32(this.Id));
                this.Id = record.Id.ToString();
                var NursingFormData = record.NursingFormData;
                HERSFNU hers = new HERSFNU();
                hers = XmlUtil.XMLToObject<HERSFNU>(NursingFormData, Encoding.UTF8);

                #region 入院宣教
                //1、介绍责任护士、经管医生。
                string[] JieShaoZeRen = hers.RuYuan_JieShaoZeRen.Split('#');
                date_RuYuan_JieShaoZeRen_RiQi_1.Text = JieShaoZeRen[0];
                text_RuYuan_JieShaoZeRen_ShiJian_1.Text = JieShaoZeRen[1];
                text_RuYuan_JieShaoZeRen_QianMing_1.Text = JieShaoZeRen[2];
                date_RuYuan_JieShaoZeRen_RiQi_2.Text = JieShaoZeRen[3];
                text_RuYuan_JieShaoZeRen_ShiJian_2.Text = JieShaoZeRen[4];
                text_RuYuan_JieShaoZeRen_QianMing_2.Text = JieShaoZeRen[5];
                date_RuYuan_JieShaoZeRen_RiQi_3.Text = JieShaoZeRen[6];
                text_RuYuan_JieShaoZeRen_ShiJian_3.Text = JieShaoZeRen[7];
                text_RuYuan_JieShaoZeRen_QianMing_3.Text = JieShaoZeRen[8];
                //2s、介绍住院须知内容。
                string[] JieShaoZhuYuan = hers.RuYuan_JieShaoZhuYuan.Split('#');
                date_RuYuan_JieShaoZhuYuan_RiQi_1.Text = JieShaoZhuYuan[0];
                text_RuYuan_JieShaoZhuYuan_ShiJian_1.Text = JieShaoZhuYuan[1];
                text_RuYuan_JieShaoZhuYuan_QianMing_1.Text = JieShaoZhuYuan[2];
                date_RuYuan_JieShaoZhuYuan_RiQi_2.Text = JieShaoZhuYuan[3];
                text_RuYuan_JieShaoZhuYuan_ShiJian_2.Text = JieShaoZhuYuan[4];
                text_RuYuan_JieShaoZhuYuan_QianMing_2.Text = JieShaoZhuYuan[5];
                date_RuYuan_JieShaoZhuYuan_RiQi_3.Text = JieShaoZhuYuan[6];
                text_RuYuan_JieShaoZhuYuan_ShiJian_3.Text = JieShaoZhuYuan[7];
                text_RuYuan_JieShaoZhuYuan_QianMing_3.Text = JieShaoZhuYuan[8];
                //3、介绍探视制度、病室环境。
                string[] JieShaoTanShi = hers.RuYuan_JieShaoTanShi.Split('#');
                date_RuYuan_JieShaoTanShi_RiQi_1.Text = JieShaoTanShi[0];
                text_RuYuan_JieShaoTanShi_ShiJian_1.Text = JieShaoTanShi[1];
                text_RuYuan_JieShaoTanShi_QianMing_1.Text = JieShaoTanShi[2];
                date_RuYuan_JieShaoTanShi_RiQi_2.Text = JieShaoTanShi[3];
                text_RuYuan_JieShaoTanShi_ShiJian_2.Text = JieShaoTanShi[4];
                text_RuYuan_JieShaoTanShi_QianMing_2.Text = JieShaoTanShi[5];
                date_RuYuan_JieShaoTanShi_RiQi_3.Text = JieShaoTanShi[6];
                text_RuYuan_JieShaoTanShi_ShiJian_3.Text = JieShaoTanShi[7];
                text_RuYuan_JieShaoTanShi_QianMing_3.Text = JieShaoTanShi[8];
                //4、介绍专科疾病知识。
                string[] JieShaoZhuanKe = hers.RuYuan_JieShaoZhuanKe.Split('#');
                date_RuYuan_JieShaoZhuanKe_RiQi_1.Text = JieShaoZhuanKe[0];
                text_RuYuan_JieShaoZhuanKe_ShiJian_1.Text = JieShaoZhuanKe[1];
                text_RuYuan_JieShaoZhuanKe_QianMing_1.Text = JieShaoZhuanKe[2];
                date_RuYuan_JieShaoZhuanKe_RiQi_2.Text = JieShaoZhuanKe[3];
                text_RuYuan_JieShaoZhuanKe_ShiJian_2.Text = JieShaoZhuanKe[4];
                text_RuYuan_JieShaoZhuanKe_QianMing_2.Text = JieShaoZhuanKe[5];
                date_RuYuan_JieShaoZhuanKe_RiQi_3.Text = JieShaoZhuanKe[6];
                text_RuYuan_JieShaoZhuanKe_ShiJian_3.Text = JieShaoZhuanKe[7];
                text_RuYuan_JieShaoZhuanKe_QianMing_3.Text = JieShaoZhuanKe[8];
                //5、告知保持联系电话通畅，便于及时联系。
                string[] GaoZhiBaoChi = hers.RuYuan_GaoZhiBaoChi.Split('#');
                date_RuYuan_GaoZhiBaoChi_RiQi_1.Text = GaoZhiBaoChi[0];
                text_RuYuan_GaoZhiBaoChi_ShiJian_1.Text = GaoZhiBaoChi[1];
                text_RuYuan_GaoZhiBaoChi_QianMing_1.Text = GaoZhiBaoChi[2];
                date_RuYuan_GaoZhiBaoChi_RiQi_2.Text = GaoZhiBaoChi[3];
                text_RuYuan_GaoZhiBaoChi_ShiJian_2.Text = GaoZhiBaoChi[4];
                text_RuYuan_GaoZhiBaoChi_QianMing_2.Text = GaoZhiBaoChi[5];
                date_RuYuan_GaoZhiBaoChi_RiQi_3.Text = GaoZhiBaoChi[6];
                text_RuYuan_GaoZhiBaoChi_ShiJian_3.Text = GaoZhiBaoChi[7];
                text_RuYuan_GaoZhiBaoChi_QianMing_3.Text = GaoZhiBaoChi[8];
                //6、告知送母乳的时间及注意事项。
                string[] GaoZhiSongMu = hers.RuYuan_GaoZhiSongMu.Split('#');
                date_RuYuan_GaoZhiSongMu_RiQi_1.Text = GaoZhiSongMu[0];
                text_RuYuan_GaoZhiSongMu_ShiJian_1.Text = GaoZhiSongMu[1];
                text_RuYuan_GaoZhiSongMu_QianMing_1.Text = GaoZhiSongMu[2];
                date_RuYuan_GaoZhiSongMu_RiQi_2.Text = GaoZhiSongMu[3];
                text_RuYuan_GaoZhiSongMu_ShiJian_2.Text = GaoZhiSongMu[4];
                text_RuYuan_GaoZhiSongMu_QianMing_2.Text = GaoZhiSongMu[5];
                date_RuYuan_GaoZhiSongMu_RiQi_3.Text = GaoZhiSongMu[6];
                text_RuYuan_GaoZhiSongMu_ShiJian_3.Text = GaoZhiSongMu[7];
                text_RuYuan_GaoZhiSongMu_QianMing_3.Text = GaoZhiSongMu[8];
                #endregion

                #region 住院期间健康教育
                //1、告知用药知识及治疗注意事项。
                string[] GaoZhiYongYao = hers.ZhuYuan_GaoZhiYongYao.Split('#');
                date_ZhuYuan_GaoZhiYongYao_RiQi_1.Text = GaoZhiYongYao[0];
                text_ZhuYuan_GaoZhiYongYao_ShiJian_1.Text = GaoZhiYongYao[1];
                text_ZhuYuan_GaoZhiYongYao_QianMing_1.Text = GaoZhiYongYao[2];
                date_ZhuYuan_GaoZhiYongYao_RiQi_2.Text = GaoZhiYongYao[3];
                text_ZhuYuan_GaoZhiYongYao_ShiJian_2.Text = GaoZhiYongYao[4];
                text_ZhuYuan_GaoZhiYongYao_QianMing_2.Text = GaoZhiYongYao[5];
                date_ZhuYuan_GaoZhiYongYao_RiQi_13.Text = GaoZhiYongYao[6];
                text_ZhuYuan_GaoZhiYongYao_ShiJian_3.Text = GaoZhiYongYao[7];
                text_ZhuYuan_GaoZhiYongYao_QianMing_3.Text = GaoZhiYongYao[8];
                //2、告知预后及可能出现的并发症。
                string[] GaoZhiYuHou = hers.ZhuYuan_GaoZhiYuHou.Split('#');
                date_ZhuYuan_GaoZhiYuHou_RiQi_1.Text = GaoZhiYuHou[0];
                text_ZhuYuan_GaoZhiYuHou_ShiJian_1.Text = GaoZhiYuHou[1];
                text_ZhuYuan_GaoZhiYuHou_QianMing_1.Text = GaoZhiYuHou[2];
                date_ZhuYuan_GaoZhiYuHou_RiQi_2.Text = GaoZhiYuHou[3];
                text_ZhuYuan_GaoZhiYuHou_ShiJian_2.Text = GaoZhiYuHou[4];
                text_ZhuYuan_GaoZhiYuHou_QianMing_2.Text = GaoZhiYuHou[5];
                date_ZhuYuan_GaoZhiYuHou_RiQi_3.Text = GaoZhiYuHou[6];
                text_ZhuYuan_GaoZhiYuHou_ShiJian_3.Text = GaoZhiYuHou[7];
                text_ZhuYuan_GaoZhiYuHou_QianMing_3.Text = GaoZhiYuHou[8];
                //3、探视时进行专科疾病知识指导。
                string[] TanShiShiJin = hers.ZhuYuan_TanShiShiJin.Split('#');
                date_ZhuYuan_TanShiShiJin_RiQi_1.Text = TanShiShiJin[0];
                text_ZhuYuan_TanShiShiJin_ShiJian_1.Text = TanShiShiJin[1];
                text_ZhuYuan_TanShiShiJin_QianMing_1.Text = TanShiShiJin[2];
                date_ZhuYuan_TanShiShiJin_RiQi_2.Text = TanShiShiJin[3];
                text_ZhuYuan_TanShiShiJin_ShiJian_2.Text = TanShiShiJin[4];
                text_ZhuYuan_TanShiShiJin_QianMing_2.Text = TanShiShiJin[5];
                date_ZhuYuan_TanShiShiJin_RiQi_3.Text = TanShiShiJin[6];
                text_ZhuYuan_TanShiShiJin_ShiJian_3.Text = TanShiShiJin[7];
                text_ZhuYuan_TanShiShiJin_QianMing_3.Text = TanShiShiJin[8];
                //4、告知饮食情况及体重增长情况。
                string[] GaoZhiYinShi = hers.ZhuYuan_GaoZhiYinShi.Split('#');
                date_ZhuYuan_GaoZhiYinShi_RiQi_1.Text = GaoZhiYinShi[0];
                text_ZhuYuan_GaoZhiYinShi_ShiJian_1.Text = GaoZhiYinShi[1];
                text_ZhuYuan_GaoZhiYinShi_QianMing_1.Text = GaoZhiYinShi[2];
                date_ZhuYuan_GaoZhiYinShi_RiQi_2.Text = GaoZhiYinShi[3];
                text_ZhuYuan_GaoZhiYinShi_ShiJian_2.Text = GaoZhiYinShi[4];
                text_ZhuYuan_GaoZhiYinShi_QianMing_2.Text = GaoZhiYinShi[5];
                date_ZhuYuan_GaoZhiYinShi_RiQi_3.Text = GaoZhiYinShi[6];
                text_ZhuYuan_GaoZhiYinShi_ShiJian_3.Text = GaoZhiYinShi[7];
                text_ZhuYuan_GaoZhiYinShi_QianMing_3.Text = GaoZhiYinShi[8];
                //5、检查前后指导。
                string[] JianChaQianHou = hers.ZhuYuan_JianChaQianHou.Split('#');
                date_ZhuYuan_JianChaQianHou_RiQi_1.Text = JianChaQianHou[0];
                text_ZhuYuan_JianChaQianHou_ShiJian_1.Text = JianChaQianHou[1];
                text_ZhuYuan_JianChaQianHou_QianMing_1.Text = JianChaQianHou[2];
                date_ZhuYuan_JianChaQianHou_RiQi_2.Text = JianChaQianHou[3];
                text_ZhuYuan_JianChaQianHou_ShiJian_2.Text = JianChaQianHou[4];
                text_ZhuYuan_JianChaQianHou_QianMing_2.Text = JianChaQianHou[5];
                date_ZhuYuan_JianChaQianHou_RiQi_3.Text = JianChaQianHou[6];
                text_ZhuYuan_JianChaQianHou_ShiJian_3.Text = JianChaQianHou[7];
                text_ZhuYuan_JianChaQianHou_QianMing_3.Text = JianChaQianHou[8];
                //6、告知氧疗知识、必要性及潜在的并发症。
                string[] GaoZhiYangLiao = hers.ZhuYuan_GaoZhiYangLiao.Split('#');
                text_ZhuYuan_GaoZhiYangHua_RiQi_1.Text = GaoZhiYangLiao[0];
                text_ZhuYuan_GaoZhiYangHua_ShiJian_1.Text = GaoZhiYangLiao[1];
                text_ZhuYuan_GaoZhiYangHua_QianMing_1.Text = GaoZhiYangLiao[2];
                text_ZhuYuan_GaoZhiYangHua_RiQi_2.Text = GaoZhiYangLiao[3];
                text_ZhuYuan_GaoZhiYangHua_ShiJian_2.Text = GaoZhiYangLiao[4];
                text_ZhuYuan_GaoZhiYangHua_QianMing_2.Text = GaoZhiYangLiao[5];
                text_ZhuYuan_GaoZhiYangHua_RiQi_3.Text = GaoZhiYangLiao[6];
                text_ZhuYuan_GaoZhiYangHua_ShiJian_3.Text = GaoZhiYangLiao[7];
                text_ZhuYuan_GaoZhiYangHua_QianMing_3.Text = GaoZhiYangLiao[8];
                //7、有创操作相关知识告知。
                string[] YouChuangCaoZuo = hers.ZhuYuan_YouChuangCaoZuo.Split('#');
                text_ZhuYuan_YouChuangCaoZuo_RiQi_1.Text = YouChuangCaoZuo[0];
                text_ZhuYuan_YouChuangCaoZuo_ShiJian_1.Text = YouChuangCaoZuo[1];
                text_ZhuYuan_YouChuangCaoZuo_QianMing_1.Text = YouChuangCaoZuo[2];
                text_ZhuYuan_YouChuangCaoZuo_RiQi_2.Text = YouChuangCaoZuo[3];
                text_ZhuYuan_YouChuangCaoZuo_ShiJian_2.Text = YouChuangCaoZuo[4];
                text_ZhuYuan_YouChuangCaoZuo_QianMing_2.Text = YouChuangCaoZuo[5];
                text_ZhuYuan_YouChuangCaoZuo_RiQi_3.Text = YouChuangCaoZuo[6];
                text_ZhuYuan_YouChuangCaoZuo_ShiJian_3.Text = YouChuangCaoZuo[7];
                text_ZhuYuan_YouChuangCaoZuo_QianMing_3.Text = YouChuangCaoZuo[8];
                #endregion

                #region 出院期间健康教育
                //1、告知出院结账手续办理流程。
                string[] GaoZhiChuYuan = hers.ChuYuan_GaoZhiChuYuan.Split('#');
                date_ChuYuan_GaoZhiChuYuan_RiQi_1.Text = GaoZhiChuYuan[0];
                text_ChuYuan_GaoZhiChuYuan_ShiJian_1.Text = GaoZhiChuYuan[1];
                text_ChuYuan_GaoZhiChuYuan_QianMing_1.Text = GaoZhiChuYuan[2];
                date_ChuYuan_GaoZhiChuYuan_RiQi_2.Text = GaoZhiChuYuan[3];
                text__ChuYuan_GaoZhiChuYuan_ShiJian_2.Text = GaoZhiChuYuan[4];
                text_ChuYuan_GaoZhiChuYuan_QianMing_2.Text = GaoZhiChuYuan[5];
                date_ChuYuan_GaoZhiChuYuan_RiQi_3.Text = GaoZhiChuYuan[6];
                text__ChuYuan_GaoZhiChuYuan_ShiJian_3.Text = GaoZhiChuYuan[7];
                text_ChuYuan_GaoZhiChuYuan_QianMing_3.Text = GaoZhiChuYuan[8];
                //2、专科护理及康复知识指导。
                string[] ZhuanKeHuLi = hers.ChuYuan_ZhuanKeHuLi.Split('#');
                date_ChuYuan_ZhuanKeHuLi_RiQi_1.Text = ZhuanKeHuLi[0];
                text_ChuYuan_ZhuanKeHuLi_ShiJian_1.Text = ZhuanKeHuLi[1];
                text_ChuYuan_ZhuanKeHuLi_QianMing_1.Text = ZhuanKeHuLi[2];
                date_ChuYuan_ZhuanKeHuLi_RiQi_2.Text = ZhuanKeHuLi[3];
                text_ChuYuan_ZhuanKeHuLi_ShiJian_2.Text = ZhuanKeHuLi[4];
                text_ChuYuan_ZhuanKeHuLi_QianMing_2.Text = ZhuanKeHuLi[5];
                date_ChuYuan_ZhuanKeHuLi_RiQi_3.Text = ZhuanKeHuLi[6];
                text_ChuYuan_ZhuanKeHuLi_ShiJian_3.Text = ZhuanKeHuLi[7];
                text_ChuYuan_ZhuanKeHuLi_QianMing_3.Text = ZhuanKeHuLi[8];
                //3、告知喂养知识，鼓励母乳喂养，及时添加辅食。
                string[] GaoZhiWeiYang = hers.ChuYuan_GaoZhiWeiYang.Split('#');
                date_ChuYuan_GaoZhiWeiYang_RiQi_1.Text = GaoZhiWeiYang[0];
                text_ChuYuan_GaoZhiWeiYang_ShiJian_1.Text = GaoZhiWeiYang[1];
                text_ChuYuan_GaoZhiWeiYang_QianMing_1.Text = GaoZhiWeiYang[2];
                date_ChuYuan_GaoZhiWeiYang_RiQi_2.Text = GaoZhiWeiYang[3];
                text_ChuYuan_GaoZhiWeiYang_ShiJian_2.Text = GaoZhiWeiYang[4];
                text_ChuYuan_GaoZhiWeiYang_QianMing_2.Text = GaoZhiWeiYang[5];
                date_ChuYuan_GaoZhiWeiYang_RiQi_3.Text = GaoZhiWeiYang[6];
                text_ChuYuan_GaoZhiWeiYang_ShiJian_3.Text = GaoZhiWeiYang[7];
                text_ChuYuan_GaoZhiWeiYang_QianMing_3.Text = GaoZhiWeiYang[8];
                //4、告知保持皮肤及脐部清洁干燥，发现异常，及时就诊。
                string[] GaoZhiPiFu = hers.ChuYuan_GaoZhiBaoChi.Split('#');
                date_ChuYuan_GaoZhiBaoChi_RiQi_1.Text = GaoZhiPiFu[0];
                text_ChuYuan_GaoZhiBaoChi_ShiJian_1.Text = GaoZhiPiFu[1];
                text_ChuYuan_GaoZhiBaoChi_QianMing_1.Text = GaoZhiPiFu[2];
                date_ChuYuan_GaoZhiBaoChi_RiQi_2.Text = GaoZhiPiFu[3];
                text_ChuYuan_GaoZhiBaoChi_ShiJian_2.Text = GaoZhiPiFu[4];
                text_ChuYuan_GaoZhiBaoChi_QianMing_2.Text = GaoZhiPiFu[5];
                date_ChuYuan_GaoZhiBaoChi_RiQi_3.Text = GaoZhiPiFu[6];
                text_ChuYuan_GaoZhiBaoChi_ShiJian_3.Text = GaoZhiPiFu[7];
                text_ChuYuan_GaoZhiBaoChi_QianMing_3.Text = GaoZhiPiFu[8];
                //5、告知预防感染的相关知识。
                string[] GaoZhiGanRan = hers.ChuYuan_GaoZhiYuFang.Split('#');
                date_ChuYuan_GaoZhiYuFang_RiQi_1.Text = GaoZhiGanRan[0];
                text_ChuYuan_GaoZhiYuFang_ShiJian_1.Text = GaoZhiGanRan[1];
                text_ChuYuan_GaoZhiYuFang_QianMing_1.Text = GaoZhiGanRan[2];
                date_ChuYuan_GaoZhiYuFang_RiQi_2.Text = GaoZhiGanRan[3];
                text_ChuYuan_GaoZhiYuFang_ShiJian_2.Text = GaoZhiGanRan[4];
                text_ChuYuan_GaoZhiYuFang_QianMing_2.Text = GaoZhiGanRan[5];
                date_ChuYuan_GaoZhiYuFang_RiQi_3.Text = GaoZhiGanRan[6];
                text_ChuYuan_GaoZhiYuFang_ShiJian_3.Text = GaoZhiGanRan[7];
                text_ChuYuan_GaoZhiYuFang_QianMing_3.Text = GaoZhiGanRan[8];
                //6、引流管知识指导。
                string[] YinLiuGuanZhi = hers.ChuYuan_YinLiuGuanZhi.Split('#');
                date_ChuYuan_YinLiuGuanZhi_RiQi_1.Text = YinLiuGuanZhi[0];
                text_ChuYuan_YinLiuGuanZhi_ShiJian_1.Text = YinLiuGuanZhi[1];
                text_ChuYuan_YinLiuGuanZhi_QianMing_1.Text = YinLiuGuanZhi[2];
                date_ChuYuan_YinLiuGuanZhi_RiQi_2.Text = YinLiuGuanZhi[3];
                text_ChuYuan_YinLiuGuanZhi_ShiJian_2.Text = YinLiuGuanZhi[4];
                text_ChuYuan_YinLiuGuanZhi_QianMing_2.Text = YinLiuGuanZhi[5];
                date_ChuYuan_YinLiuGuanZhi_RiQi_3.Text = YinLiuGuanZhi[6];
                text_ChuYuan_YinLiuGuanZhi_ShiJian_3.Text = YinLiuGuanZhi[7];
                text_ChuYuan_YinLiuGuanZhi_QianMing_3.Text = YinLiuGuanZhi[8];
                //7、出院带药的用法、注意事项。
                string[] ChuYuanDaiYao = hers.ChuYuan_ChuYuanDaiYao.Split('#');
                date_ChuYuan_ChuYuanDaiYao_RiQi_1.Text = ChuYuanDaiYao[0];
                text_ChuYuan_ChuYuanDaiYao_ShiJian_1.Text = ChuYuanDaiYao[1];
                text_ChuYuan_ChuYuanDaiYao_QianMing_1.Text = ChuYuanDaiYao[2];
                date_ChuYuan_ChuYuanDaiYao_RiQi_2.Text = ChuYuanDaiYao[3];
                text_ChuYuan_ChuYuanDaiYao_ShiJian_2.Text = ChuYuanDaiYao[4];
                text_ChuYuan_ChuYuanDaiYao_QianMing_2.Text = ChuYuanDaiYao[5];
                date_ChuYuan_ChuYuanDaiYao_RiQi_3.Text = ChuYuanDaiYao[6];
                text_ChuYuan_ChuYuanDaiYao_ShiJian_3.Text = ChuYuanDaiYao[7];
                text_ChuYuan_ChuYuanDaiYao_QianMing_3.Text = ChuYuanDaiYao[8];
                //8、告知随访时间及随访的重要性。
                string[] GaoZhiSuiFang = hers.ChuYuan_GaoZhiSuiFang.Split('#');
                date_ChuYuan_GaoZhiSuiFang_RiQi_1.Text = GaoZhiSuiFang[0];
                text_ChuYuan_GaoZhiSuiFang_ShiJian_1.Text = GaoZhiSuiFang[1];
                text_ChuYuan_GaoZhiSuiFang_QianMing_1.Text = GaoZhiSuiFang[2];
                date_ChuYuan_GaoZhiSuiFang_RiQi_2.Text = GaoZhiSuiFang[3];
                text_ChuYuan_GaoZhiSuiFang_ShiJian_2.Text = GaoZhiSuiFang[4];
                text_ChuYuan_GaoZhiSuiFang_QianMing_2.Text = GaoZhiSuiFang[5];
                date_ChuYuan_GaoZhiSuiFang_RiQi_3.Text = GaoZhiSuiFang[6];
                text_ChuYuan_GaoZhiSuiFang_ShiJian_3.Text = GaoZhiSuiFang[7];
                text_ChuYuan_GaoZhiSuiFang_QianMing_3.Text = GaoZhiSuiFang[8];
                //9、按期预防接种和儿保体检。 
                string[] AnQiYuFang = hers.ChuYuan_AnQiYuFang.Split('#');
                date_ChuYuan_AnQiYuFang_RiQi_1.Text = AnQiYuFang[0];
                text_ChuYuan_AnQiYuFang_ShiJian_1.Text = AnQiYuFang[1];
                text_ChuYuan_AnQiYuFang_QianMing_1.Text = AnQiYuFang[2];
                date_ChuYuan_AnQiYuFang_RiQi_2.Text = AnQiYuFang[3];
                text_ChuYuan_AnQiYuFang_ShiJian_2.Text = AnQiYuFang[4];
                text_ChuYuan_AnQiYuFang_QianMing_2.Text = AnQiYuFang[5];
                date_ChuYuan_AnQiYuFang_RiQi_3.Text = AnQiYuFang[6];
                text_ChuYuan_AnQiYuFang_ShiJian_3.Text = AnQiYuFang[7];
                text_ChuYuan_AnQiYuFang_QianMing_3.Text = AnQiYuFang[8];
                #endregion

            }
            else if (ret.Code == 2)
            {
                this.Id = string.Empty;
                return;
            }
            else
            {
                MessageBox.Show(ret.M);
            }
        }
        #endregion

        #region 保存
        private void Btn_BaoCun_Click(object sender, EventArgs e)
        {
            HERSFNU her = new HERSFNU();

            #region 入院宣教
            //1、介绍责任护士、经管医生。
            her.RuYuan_JieShaoZeRen = (date_RuYuan_JieShaoZeRen_RiQi_1.Text) + "#" + (text_RuYuan_JieShaoZeRen_ShiJian_1.Text) + "#" + (text_RuYuan_JieShaoZeRen_QianMing_1.Text)
                              + "#" + (date_RuYuan_JieShaoZeRen_RiQi_2.Text) + "#" + (text_RuYuan_JieShaoZeRen_ShiJian_2.Text) + "#" + (text_RuYuan_JieShaoZeRen_QianMing_2.Text)
                              + "#" + (date_RuYuan_JieShaoZeRen_RiQi_3.Text) + "#" + (text_RuYuan_JieShaoZeRen_ShiJian_3.Text) + "#" + (text_RuYuan_JieShaoZeRen_QianMing_3.Text);
            //2、介绍住院须知内容。
            her.RuYuan_JieShaoZhuYuan = (date_RuYuan_JieShaoZhuYuan_RiQi_1.Text) + "#" + (text_RuYuan_JieShaoZhuYuan_ShiJian_1.Text) + "#" + (text_RuYuan_JieShaoZhuYuan_QianMing_1.Text)
                                + "#" + (date_RuYuan_JieShaoZhuYuan_RiQi_2.Text) + "#" + (text_RuYuan_JieShaoZhuYuan_ShiJian_2.Text) + "#" + (text_RuYuan_JieShaoZhuYuan_QianMing_2.Text)
                                + "#" + (date_RuYuan_JieShaoZhuYuan_RiQi_3.Text) + "#" + (text_RuYuan_JieShaoZhuYuan_ShiJian_3.Text) + "#" + (text_RuYuan_JieShaoZhuYuan_QianMing_3.Text);
            //3、介绍探视制度、病室环境。
            her.RuYuan_JieShaoTanShi = (date_RuYuan_JieShaoTanShi_RiQi_1.Text) + "#" + (text_RuYuan_JieShaoTanShi_ShiJian_1.Text) + "#" + (text_RuYuan_JieShaoTanShi_QianMing_1.Text)
                               + "#" + (date_RuYuan_JieShaoTanShi_RiQi_2.Text) + "#" + (text_RuYuan_JieShaoTanShi_ShiJian_2.Text) + "#" + (text_RuYuan_JieShaoTanShi_QianMing_2.Text)
                               + "#" + (date_RuYuan_JieShaoTanShi_RiQi_3.Text) + "#" + (text_RuYuan_JieShaoTanShi_ShiJian_3.Text) + "#" + (text_RuYuan_JieShaoTanShi_QianMing_3.Text);
            //4、介绍专科疾病知识。
            her.RuYuan_JieShaoZhuanKe = (date_RuYuan_JieShaoZhuanKe_RiQi_1.Text) + "#" + (text_RuYuan_JieShaoZhuanKe_ShiJian_1.Text) + "#" + (text_RuYuan_JieShaoZhuanKe_QianMing_1.Text)
                                 + "#" + (date_RuYuan_JieShaoZhuanKe_RiQi_2.Text) + "#" + (text_RuYuan_JieShaoZhuanKe_ShiJian_2.Text) + "#" + (text_RuYuan_JieShaoZhuanKe_QianMing_2.Text)
                                 + "#" + (date_RuYuan_JieShaoZhuanKe_RiQi_3.Text) + "#" + (text_RuYuan_JieShaoZhuanKe_ShiJian_3.Text) + "#" + (text_RuYuan_JieShaoZhuanKe_QianMing_3.Text);
            //5、告知保持联系电话通畅，便于及时联系。
            her.RuYuan_GaoZhiBaoChi = (date_RuYuan_GaoZhiBaoChi_RiQi_1.Text) + "#" + (text_RuYuan_GaoZhiBaoChi_ShiJian_1.Text) + "#" + (text_RuYuan_GaoZhiBaoChi_QianMing_1.Text)
                              + "#" + (date_RuYuan_GaoZhiBaoChi_RiQi_2.Text) + "#" + (text_RuYuan_GaoZhiBaoChi_ShiJian_2.Text) + "#" + (text_RuYuan_GaoZhiBaoChi_QianMing_2.Text)
                              + "#" + (date_RuYuan_GaoZhiBaoChi_RiQi_3.Text) + "#" + (text_RuYuan_GaoZhiBaoChi_ShiJian_3.Text) + "#" + (text_RuYuan_GaoZhiBaoChi_QianMing_3.Text);
            //6、告知送母乳的时间及注意事项。
            her.RuYuan_GaoZhiSongMu = (date_RuYuan_GaoZhiSongMu_RiQi_1.Text) + "#" + (text_RuYuan_GaoZhiSongMu_ShiJian_1.Text) + "#" + (text_RuYuan_GaoZhiSongMu_QianMing_1.Text)
                              + "#" + (date_RuYuan_GaoZhiSongMu_RiQi_2.Text) + "#" + (text_RuYuan_GaoZhiSongMu_ShiJian_2.Text) + "#" + (text_RuYuan_GaoZhiSongMu_QianMing_2.Text)
                              + "#" + (date_RuYuan_GaoZhiSongMu_RiQi_3.Text) + "#" + (text_RuYuan_GaoZhiSongMu_ShiJian_3.Text) + "#" + (text_RuYuan_GaoZhiSongMu_QianMing_3.Text);
            #endregion

            #region 住院期间健康教育
            //1、告知用药知识及治疗注意事项。
            her.ZhuYuan_GaoZhiYongYao = (date_ZhuYuan_GaoZhiYongYao_RiQi_1.Text) + "#" + (text_ZhuYuan_GaoZhiYongYao_ShiJian_1.Text) + "#" + (text_ZhuYuan_GaoZhiYongYao_QianMing_1.Text)
                                + "#" + (date_ZhuYuan_GaoZhiYongYao_RiQi_2.Text) + "#" + (text_ZhuYuan_GaoZhiYongYao_ShiJian_2.Text) + "#" + (text_ZhuYuan_GaoZhiYongYao_QianMing_2.Text)
                                + "#" + (date_ZhuYuan_GaoZhiYongYao_RiQi_13.Text) + "#" + (text_ZhuYuan_GaoZhiYongYao_ShiJian_3.Text) + "#" + (text_ZhuYuan_GaoZhiYongYao_QianMing_3.Text);
            //2、告知预后及可能出现的并发症。
            her.ZhuYuan_GaoZhiYuHou = (date_ZhuYuan_GaoZhiYongYao_RiQi_1.Text) + "#" + (text_ZhuYuan_GaoZhiYongYao_ShiJian_1.Text) + "#" + (text_ZhuYuan_GaoZhiYongYao_QianMing_1.Text)
                              + "#" + (date_ZhuYuan_GaoZhiYongYao_RiQi_2.Text) + "#" + (text_ZhuYuan_GaoZhiYongYao_ShiJian_2.Text) + "#" + (text_ZhuYuan_GaoZhiYongYao_QianMing_2.Text)
                              + "#" + (date_ZhuYuan_GaoZhiYongYao_RiQi_13.Text) + "#" + (text_ZhuYuan_GaoZhiYongYao_ShiJian_3.Text) + "#" + (text_ZhuYuan_GaoZhiYongYao_QianMing_3.Text);
            //3、探视时进行专科疾病知识指导。
            her.ZhuYuan_TanShiShiJin = (date_ZhuYuan_TanShiShiJin_RiQi_1.Text) + "#" + (text_ZhuYuan_TanShiShiJin_ShiJian_1.Text) + "#" + (text_ZhuYuan_TanShiShiJin_QianMing_1.Text)
                               + "#" + (date_ZhuYuan_TanShiShiJin_RiQi_2.Text) + "#" + (text_ZhuYuan_TanShiShiJin_ShiJian_2.Text) + "#" + (text_ZhuYuan_TanShiShiJin_QianMing_2.Text)
                               + "#" + (date_ZhuYuan_TanShiShiJin_RiQi_3.Text) + "#" + (text_ZhuYuan_TanShiShiJin_ShiJian_3.Text) + "#" + (text_ZhuYuan_TanShiShiJin_QianMing_3.Text);
            //4、告知饮食情况及体重增长情况。
            her.ZhuYuan_GaoZhiYinShi = (date_ZhuYuan_GaoZhiYinShi_RiQi_1.Text) + "#" + (text_ZhuYuan_GaoZhiYinShi_ShiJian_1.Text) + "#" + (text_ZhuYuan_GaoZhiYinShi_QianMing_1.Text)
                               + "#" + (date_ZhuYuan_GaoZhiYinShi_RiQi_2.Text) + "#" + (text_ZhuYuan_GaoZhiYinShi_ShiJian_2.Text) + "#" + (text_ZhuYuan_GaoZhiYinShi_QianMing_2.Text)
                               + "#" + (date_ZhuYuan_GaoZhiYinShi_RiQi_3.Text) + "#" + (text_ZhuYuan_GaoZhiYinShi_ShiJian_3.Text) + "#" + (text_ZhuYuan_GaoZhiYinShi_QianMing_3.Text);
            //5、检查前后指导。
            her.ZhuYuan_JianChaQianHou = (date_ZhuYuan_JianChaQianHou_RiQi_1.Text) + "#" + (text_ZhuYuan_JianChaQianHou_ShiJian_1.Text) + "#" + (text_ZhuYuan_JianChaQianHou_QianMing_1.Text)
                                 + "#" + (date_ZhuYuan_JianChaQianHou_RiQi_2.Text) + "#" + (text_ZhuYuan_JianChaQianHou_ShiJian_2.Text) + "#" + (text_ZhuYuan_JianChaQianHou_QianMing_2.Text)
                                 + "#" + (date_ZhuYuan_JianChaQianHou_RiQi_3.Text) + "#" + (text_ZhuYuan_JianChaQianHou_ShiJian_3.Text) + "#" + (text_ZhuYuan_JianChaQianHou_QianMing_3.Text);
            //6、告知氧疗知识、必要性及潜在的并发症。
            her.ZhuYuan_GaoZhiYangLiao = (text_ZhuYuan_GaoZhiYangHua_RiQi_1.Text) + "#" + (text_ZhuYuan_GaoZhiYangHua_ShiJian_1.Text) + "#" + (text_ZhuYuan_GaoZhiYangHua_QianMing_1.Text)
                                 + "#" + (text_ZhuYuan_GaoZhiYangHua_RiQi_2.Text) + "#" + (text_ZhuYuan_GaoZhiYangHua_ShiJian_2.Text) + "#" + (text_ZhuYuan_GaoZhiYangHua_QianMing_2.Text)
                                 + "#" + (text_ZhuYuan_GaoZhiYangHua_RiQi_3.Text) + "#" + (text_ZhuYuan_GaoZhiYangHua_ShiJian_3.Text) + "#" + (text_ZhuYuan_GaoZhiYangHua_QianMing_3.Text);
            //7、有创操作相关知识告知。
            her.ZhuYuan_YouChuangCaoZuo = (text_ZhuYuan_YouChuangCaoZuo_RiQi_1.Text) + "#" + (text_ZhuYuan_YouChuangCaoZuo_ShiJian_1.Text) + "#" + (text_ZhuYuan_YouChuangCaoZuo_QianMing_1.Text)
                                  + "#" + (text_ZhuYuan_YouChuangCaoZuo_RiQi_2.Text) + "#" + (text_ZhuYuan_YouChuangCaoZuo_ShiJian_2.Text) + "#" + (text_ZhuYuan_YouChuangCaoZuo_QianMing_2.Text)
                                  + "#" + (text_ZhuYuan_YouChuangCaoZuo_RiQi_3.Text) + "#" + (text_ZhuYuan_YouChuangCaoZuo_ShiJian_3.Text) + "#" + (text_ZhuYuan_YouChuangCaoZuo_QianMing_3.Text);
            #endregion

            #region 出院期间健康教育
            //1、告知出院结账手续办理流程。
            her.ChuYuan_GaoZhiChuYuan = (date_ChuYuan_GaoZhiChuYuan_RiQi_1.Text) + "#" + (text_ChuYuan_GaoZhiChuYuan_ShiJian_1.Text) + "#" + (text_ChuYuan_GaoZhiChuYuan_QianMing_1.Text)
                                + "#" + (date_ChuYuan_GaoZhiChuYuan_RiQi_2.Text) + "#" + (text__ChuYuan_GaoZhiChuYuan_ShiJian_2.Text) + "#" + (text_ChuYuan_GaoZhiChuYuan_QianMing_2.Text)
                                + "#" + (date_ChuYuan_GaoZhiChuYuan_RiQi_3.Text) + "#" + (text__ChuYuan_GaoZhiChuYuan_ShiJian_3.Text) + "#" + (text_ChuYuan_GaoZhiChuYuan_QianMing_3.Text);
            //2、专科护理及康复知识指导。
            her.ChuYuan_ZhuanKeHuLi = (date_ChuYuan_ZhuanKeHuLi_RiQi_1.Text) + "#" + (text_ChuYuan_ZhuanKeHuLi_ShiJian_1.Text) + "#" + (text_ChuYuan_ZhuanKeHuLi_QianMing_1.Text) 
                              + "#" + (date_ChuYuan_ZhuanKeHuLi_RiQi_2.Text) + "#" + (text_ChuYuan_ZhuanKeHuLi_ShiJian_2.Text) + "#" + (text_ChuYuan_ZhuanKeHuLi_QianMing_2.Text)
                              + "#" + (date_ChuYuan_ZhuanKeHuLi_RiQi_3.Text) + "#" + (text_ChuYuan_ZhuanKeHuLi_ShiJian_3.Text) + "#" + (text_ChuYuan_ZhuanKeHuLi_QianMing_3.Text);
            //3、告知喂养知识，鼓励母乳喂养，及时添加辅食。
            her.ChuYuan_GaoZhiWeiYang = (date_ChuYuan_GaoZhiWeiYang_RiQi_1.Text) + "#" + (text_ChuYuan_GaoZhiWeiYang_ShiJian_1.Text) + "#" + (text_ChuYuan_GaoZhiWeiYang_QianMing_1.Text)
                                + "#" + (date_ChuYuan_GaoZhiWeiYang_RiQi_2.Text) + "#" + (text_ChuYuan_GaoZhiWeiYang_ShiJian_2.Text) + "#" + (text_ChuYuan_GaoZhiWeiYang_QianMing_2.Text)
                                + "#" + (date_ChuYuan_GaoZhiWeiYang_RiQi_3.Text) + "#" + (text_ChuYuan_GaoZhiWeiYang_ShiJian_3.Text) + "#" + (text_ChuYuan_GaoZhiWeiYang_QianMing_3.Text);
            //4、告知保持皮肤及脐部清洁干燥，发现异常，及时就诊。
            her.ChuYuan_GaoZhiBaoChi = (date_ChuYuan_GaoZhiBaoChi_RiQi_1.Text) + "#" + (text_ChuYuan_GaoZhiBaoChi_ShiJian_1.Text) + "#" + (text_ChuYuan_GaoZhiBaoChi_QianMing_1.Text) 
                               + "#" + (date_ChuYuan_GaoZhiBaoChi_RiQi_2.Text) + "#" + (text_ChuYuan_GaoZhiBaoChi_ShiJian_2.Text) + "#" + (text_ChuYuan_GaoZhiBaoChi_QianMing_2.Text)
                               + "#" + (date_ChuYuan_GaoZhiBaoChi_RiQi_3.Text) + "#" + (text_ChuYuan_GaoZhiBaoChi_ShiJian_3.Text) + "#" + (text_ChuYuan_GaoZhiBaoChi_QianMing_3.Text);
            //5、告知预防感染的相关知识。
            her.ChuYuan_GaoZhiYuFang = (date_ChuYuan_GaoZhiYuFang_RiQi_1.Text) + "#" + (text_ChuYuan_GaoZhiYuFang_ShiJian_1.Text) + "#" + (text_ChuYuan_GaoZhiYuFang_QianMing_1.Text) 
                               + "#" + (date_ChuYuan_GaoZhiYuFang_RiQi_2.Text) + "#" + (text_ChuYuan_GaoZhiYuFang_ShiJian_2.Text) + "#" + (text_ChuYuan_GaoZhiYuFang_QianMing_2.Text) 
                               + "#" + (date_ChuYuan_GaoZhiYuFang_RiQi_3.Text) + "#" + (text_ChuYuan_GaoZhiYuFang_ShiJian_3.Text) + "#" + (text_ChuYuan_GaoZhiYuFang_QianMing_3.Text);
            //6、引流管知识指导。
            her.ChuYuan_YinLiuGuanZhi = (date_ChuYuan_YinLiuGuanZhi_RiQi_1.Text) + "#" + (text_ChuYuan_YinLiuGuanZhi_ShiJian_1.Text) + "#" + (text_ChuYuan_YinLiuGuanZhi_QianMing_1.Text) 
                                + "#" + (date_ChuYuan_YinLiuGuanZhi_RiQi_2.Text) + "#" + (text_ChuYuan_YinLiuGuanZhi_ShiJian_2.Text) + "#" + (text_ChuYuan_YinLiuGuanZhi_QianMing_2.Text) 
                                + "#" + (date_ChuYuan_YinLiuGuanZhi_RiQi_3.Text) + "#" + (text_ChuYuan_YinLiuGuanZhi_ShiJian_3.Text) + "#" + (text_ChuYuan_YinLiuGuanZhi_QianMing_3.Text);
            //7、出院带药的用法、注意事项。
            her.ChuYuan_ChuYuanDaiYao = (date_ChuYuan_ChuYuanDaiYao_RiQi_1.Text) + "#" + (text_ChuYuan_ChuYuanDaiYao_ShiJian_1.Text) + "#" + (text_ChuYuan_ChuYuanDaiYao_QianMing_1.Text)
                                + "#" + (date_ChuYuan_ChuYuanDaiYao_RiQi_2.Text) + "#" + (text_ChuYuan_ChuYuanDaiYao_ShiJian_2.Text) + "#" + (text_ChuYuan_ChuYuanDaiYao_QianMing_2.Text)
                                + "#" + (date_ChuYuan_ChuYuanDaiYao_RiQi_3.Text) + "#" + (text_ChuYuan_ChuYuanDaiYao_ShiJian_3.Text) + "#" + (text_ChuYuan_ChuYuanDaiYao_QianMing_3.Text);
            //8、告知随访时间及随访的重要性。
            her.ChuYuan_GaoZhiSuiFang = (date_ChuYuan_GaoZhiSuiFang_RiQi_1.Text) + "#" + (text_ChuYuan_GaoZhiSuiFang_ShiJian_1.Text) + "#" + (text_ChuYuan_GaoZhiSuiFang_QianMing_1.Text)
                                + "#" + (date_ChuYuan_GaoZhiSuiFang_RiQi_2.Text) + "#" + (text_ChuYuan_GaoZhiSuiFang_ShiJian_2.Text) + "#" + (text_ChuYuan_GaoZhiSuiFang_QianMing_2.Text)
                                + "#" + (date_ChuYuan_GaoZhiSuiFang_RiQi_3.Text) + "#" + (text_ChuYuan_GaoZhiSuiFang_ShiJian_3.Text) + "#" + (text_ChuYuan_GaoZhiSuiFang_QianMing_3.Text);
            //9、按期预防接种和儿保体检。 
            her.ChuYuan_AnQiYuFang = (date_ChuYuan_AnQiYuFang_RiQi_1.Text) + "#" + (text_ChuYuan_AnQiYuFang_ShiJian_1.Text) + "#" + (text_ChuYuan_AnQiYuFang_QianMing_1.Text) 
                             + "#" + (date_ChuYuan_AnQiYuFang_RiQi_2.Text) + "#" + (text_ChuYuan_AnQiYuFang_ShiJian_2.Text) + "#" + (text_ChuYuan_AnQiYuFang_QianMing_2.Text) 
                             + "#" + (date_ChuYuan_AnQiYuFang_RiQi_3.Text) + "#" + (text_ChuYuan_AnQiYuFang_ShiJian_3.Text) + "#" + (text_ChuYuan_AnQiYuFang_QianMing_3.Text);
            #endregion

            her.FormId = (int)FormType.HealthERecordBaby;     //表单Id
            her.FormName = EnumHelper.GetDescription(FormType.HealthERecordBaby);   //表单名字
            record.FormId = (int)FormType.HealthERecordBaby;     //表单Id
            record.FormName = EnumHelper.GetDescription(FormType.HealthERecordBaby);   //表单名字
            record.PatientId = Patientinfo.PATIENT_ID;    //住院号
            record.VisitId = Patientinfo.VISIT_ID;    //住院次数
            record.PatientName = Patientinfo.PATIENT_NAME;    //患者姓名
            record.BedNo = Patientinfo.BED_NO;     //床号
            record.DepartmentId = Patientinfo.DEPARTMENT_ID;     //当前科室ID
            record.DepartmentName = Patientinfo.DEPARTMENT_NAME;     //当前科室名字
            record.AreaId = Patientinfo.NURSE_CELL_CODE;   //当前患者病区ID
            record.AreaName = Patientinfo.NURSE_CELL_NAME;    //当前患者病区名称
            record.AssessmentDate = DateTime.Now;
            record.Id = string.IsNullOrEmpty(Id) ? 0 : Convert.ToInt32(Id);
            record.NursingFormData = XmlUtil.ObjectToXML(her, Encoding.UTF8);
            var ret = formService.SetNursingFormRecord(Newtonsoft.Json.JsonConvert.SerializeObject(record));
            if (ret.Code == 1)
            {
                MessageBox.Show(record.Id == 0 ? "新增成功" : "更新成功");
                if (record.Id > 0) return;
                this.Id = string.Empty;
                BindInfo(this.Id);
            }
            else
            {
                MessageBox.Show(ret.M);
            }
        }
        #endregion

        #region 打印
        private void Btn_DaYin_Click(object sender, EventArgs e)
        {
            if (string.IsNullOrEmpty(this.Id)) { MessageBox.Show("请先保存"); return; }
            PrintHealthEducationRSFNU pr = new PrintHealthEducationRSFNU(LoginUser, Patientinfo, this.Id);
            pr.ShowDialog();
        }
        #endregion

        #region 双击显示当前时间

        #region 入院宣教
        //1、介绍责任护士、经管医生。
        private void text_RuYuan_JieShaoZeRen_ShiJian_1_DoubleClick(object sender, EventArgs e)
        {
            text_RuYuan_JieShaoZeRen_ShiJian_1.Text = DateTime.Now.ToString("HH:mm");
        }
        private void text_RuYuan_JieShaoZeRen_ShiJian_2_DoubleClick(object sender, EventArgs e)
        {
            text_RuYuan_JieShaoZeRen_ShiJian_2.Text = DateTime.Now.ToString("HH:mm");
        }
        private void text_RuYuan_JieShaoZeRen_ShiJian_3_DoubleClick(object sender, EventArgs e)
        {
            text_RuYuan_JieShaoZeRen_ShiJian_3.Text = DateTime.Now.ToString("HH:mm");
        }
        //2、介绍住院须知内容。
        private void text_RuYuan_JieShaoZhuYuan_ShiJian_1_DoubleClick(object sender, EventArgs e)
        {
            text_RuYuan_JieShaoZhuYuan_ShiJian_1.Text = DateTime.Now.ToString("HH:mm");
        }
        private void text_RuYuan_JieShaoZhuYuan_ShiJian_2_DoubleClick(object sender, EventArgs e)
        {
            text_RuYuan_JieShaoZhuYuan_ShiJian_2.Text = DateTime.Now.ToString("HH:mm");
        }
        private void text_RuYuan_JieShaoZhuYuan_ShiJian_3_DoubleClick(object sender, EventArgs e)
        {
            text_RuYuan_JieShaoZhuYuan_ShiJian_3.Text = DateTime.Now.ToString("HH:mm");
        }
        //3、介绍探视制度、病室环境。
        private void text_RuYuan_JieShaoTanShi_ShiJian_1_DoubleClick(object sender, EventArgs e)
        {
            text_RuYuan_JieShaoTanShi_ShiJian_1.Text = DateTime.Now.ToString("HH:mm");
        }
        private void text_RuYuan_JieShaoTanShi_ShiJian_2_DoubleClick(object sender, EventArgs e)
        {
            text_RuYuan_JieShaoTanShi_ShiJian_2.Text = DateTime.Now.ToString("HH:mm");
        }
        private void text_RuYuan_JieShaoTanShi_ShiJian_3_DoubleClick(object sender, EventArgs e)
        {
            text_RuYuan_JieShaoTanShi_ShiJian_3.Text = DateTime.Now.ToString("HH:mm");
        }
        //4、介绍专科疾病知识。
        private void text_RuYuan_JieShaoZhuanKe_ShiJian_1_DoubleClick(object sender, EventArgs e)
        {
            text_RuYuan_JieShaoZhuanKe_ShiJian_1.Text = DateTime.Now.ToString("HH:mm");
        }
        private void text_RuYuan_JieShaoZhuanKe_ShiJian_2_DoubleClick(object sender, EventArgs e)
        {
            text_RuYuan_JieShaoZhuanKe_ShiJian_2.Text = DateTime.Now.ToString("HH:mm");
        }
        private void text_RuYuan_JieShaoZhuanKe_ShiJian_3_DoubleClick(object sender, EventArgs e)
        {
            text_RuYuan_JieShaoZhuanKe_ShiJian_3.Text = DateTime.Now.ToString("HH:mm");
        }
        //5、告知保持联系电话通畅，便于及时联系。
        private void text_RuYuan_GaoZhiBaoChi_ShiJian_1_DoubleClick(object sender, EventArgs e)
        {
            text_RuYuan_GaoZhiBaoChi_ShiJian_1.Text = DateTime.Now.ToString("HH:mm");
        }
        private void text_RuYuan_GaoZhiBaoChi_ShiJian_2_DoubleClick(object sender, EventArgs e)
        {
            text_RuYuan_GaoZhiBaoChi_ShiJian_2.Text = DateTime.Now.ToString("HH:mm");
        }
        private void text_RuYuan_GaoZhiBaoChi_ShiJian_3_DoubleClick(object sender, EventArgs e)
        {
            text_RuYuan_GaoZhiBaoChi_ShiJian_3.Text = DateTime.Now.ToString("HH:mm");
        }
        //6、告知送母乳的时间及注意事项。
        private void text_RuYuan_GaoZhiSongMu_ShiJian_1_DoubleClick(object sender, EventArgs e)
        {
            text_RuYuan_GaoZhiSongMu_ShiJian_1.Text = DateTime.Now.ToString("HH:mm");
        }
        private void text_RuYuan_GaoZhiSongMu_ShiJian_2_DoubleClick(object sender, EventArgs e)
        {
            text_RuYuan_GaoZhiSongMu_ShiJian_2.Text = DateTime.Now.ToString("HH:mm");
        }
        private void text_RuYuan_GaoZhiSongMu_ShiJian_3_DoubleClick(object sender, EventArgs e)
        {
            text_RuYuan_GaoZhiSongMu_ShiJian_3.Text = DateTime.Now.ToString("HH:mm");
        }
        #endregion

        #region 住院期间健康教育
        //1、告知用药知识及治疗注意事项。
        private void text_ZhuYuan_GaoZhiYongYao_ShiJian_1_DoubleClick(object sender, EventArgs e)
        {
            text_ZhuYuan_GaoZhiYongYao_ShiJian_1.Text = DateTime.Now.ToString("HH:mm");
        }
        private void text_ZhuYuan_GaoZhiYongYao_ShiJian_2_DoubleClick(object sender, EventArgs e)
        {
            text_ZhuYuan_GaoZhiYongYao_ShiJian_2.Text = DateTime.Now.ToString("HH:mm");
        }
        private void text_ZhuYuan_GaoZhiYongYao_ShiJian_3_DoubleClick(object sender, EventArgs e)
        {
            text_ZhuYuan_GaoZhiYongYao_ShiJian_3.Text = DateTime.Now.ToString("HH:mm");
        }
        //2、告知预后及可能出现的并发症。
        private void text_ZhuYuan_GaoZhiYuHou_ShiJian_1_DoubleClick(object sender, EventArgs e)
        {
            text_ZhuYuan_GaoZhiYuHou_ShiJian_1.Text = DateTime.Now.ToString("HH:mm");
        }
        private void text_ZhuYuan_GaoZhiYuHou_ShiJian_2_DoubleClick(object sender, EventArgs e)
        {
            text_ZhuYuan_GaoZhiYuHou_ShiJian_2.Text = DateTime.Now.ToString("HH:mm");
        }
        private void text_ZhuYuan_GaoZhiYuHou_ShiJian_3_DoubleClick(object sender, EventArgs e)
        {
            text_ZhuYuan_GaoZhiYuHou_ShiJian_3.Text = DateTime.Now.ToString("HH:mm");
        }
        //3、探视时进行专科疾病知识指导。
        private void text_ZhuYuan_TanShiShiJin_ShiJian_1_DoubleClick(object sender, EventArgs e)
        {
            text_ZhuYuan_TanShiShiJin_ShiJian_1.Text = DateTime.Now.ToString("HH:mm");
        }
        private void text_ZhuYuan_TanShiShiJin_ShiJian_2_DoubleClick(object sender, EventArgs e)
        {
            text_ZhuYuan_TanShiShiJin_ShiJian_2.Text = DateTime.Now.ToString("HH:mm");
        }
        private void text_ZhuYuan_TanShiShiJin_ShiJian_3_DoubleClick(object sender, EventArgs e)
        {
            text_ZhuYuan_TanShiShiJin_ShiJian_3.Text = DateTime.Now.ToString("HH:mm");
        }
        //4、告知饮食情况及体重增长情况。
        private void text_ZhuYuan_GaoZhiYinShi_ShiJian_1_DoubleClick(object sender, EventArgs e)
        {
            text_ZhuYuan_GaoZhiYinShi_ShiJian_1.Text = DateTime.Now.ToString("HH:mm");
        }
        private void text_ZhuYuan_GaoZhiYinShi_ShiJian_2_DoubleClick(object sender, EventArgs e)
        {
            text_ZhuYuan_GaoZhiYinShi_ShiJian_2.Text = DateTime.Now.ToString("HH:mm");
        }
        private void text_ZhuYuan_GaoZhiYinShi_ShiJian_3_DoubleClick(object sender, EventArgs e)
        {
            text_ZhuYuan_GaoZhiYinShi_ShiJian_3.Text = DateTime.Now.ToString("HH:mm");
        }
        //5、检查前后指导。
        private void text_ZhuYuan_JianChaQianHou_ShiJian_1_DoubleClick(object sender, EventArgs e)
        {
            text_ZhuYuan_JianChaQianHou_ShiJian_1.Text = DateTime.Now.ToString("HH:mm");
        }
        private void text_ZhuYuan_JianChaQianHou_ShiJian_2_DoubleClick(object sender, EventArgs e)
        {
            text_ZhuYuan_JianChaQianHou_ShiJian_2.Text = DateTime.Now.ToString("HH:mm");
        }
        private void text_ZhuYuan_JianChaQianHou_ShiJian_3_DoubleClick(object sender, EventArgs e)
        {
            text_ZhuYuan_JianChaQianHou_ShiJian_3.Text = DateTime.Now.ToString("HH:mm");
        }
        //6、告知氧疗知识、必要性及潜在的并发症。
        private void text_ZhuYuan_GaoZhiYangHua_ShiJian_1_DoubleClick(object sender, EventArgs e)
        {
            text_ZhuYuan_GaoZhiYangHua_ShiJian_1.Text = DateTime.Now.ToString("HH:mm");
        }
        private void text_ZhuYuan_GaoZhiYangHua_ShiJian_2_DoubleClick(object sender, EventArgs e)
        {
            text_ZhuYuan_GaoZhiYangHua_ShiJian_2.Text = DateTime.Now.ToString("HH:mm");
        }
        private void text_ZhuYuan_GaoZhiYangHua_ShiJian_3_DoubleClick(object sender, EventArgs e)
        {
            text_ZhuYuan_GaoZhiYangHua_ShiJian_3.Text = DateTime.Now.ToString("HH:mm");
        }
        //7、有创操作相关知识告知。
        private void text_ZhuYuan_YouChuangCaoZuo_ShiJian_1_DoubleClick(object sender, EventArgs e)
        {
            text_ZhuYuan_YouChuangCaoZuo_ShiJian_1.Text = DateTime.Now.ToString("HH:mm");
        }
        private void text_ZhuYuan_YouChuangCaoZuo_ShiJian_2_DoubleClick(object sender, EventArgs e)
        {
            text_ZhuYuan_YouChuangCaoZuo_ShiJian_2.Text = DateTime.Now.ToString("HH:mm");
        }
        private void text_ZhuYuan_YouChuangCaoZuo_ShiJian_3_DoubleClick(object sender, EventArgs e)
        {
            text_ZhuYuan_YouChuangCaoZuo_ShiJian_3.Text = DateTime.Now.ToString("HH:mm");
        }
        #endregion

        #region 出院期间健康教育
        //1、告知出院结账手续办理流程。
        private void text_ChuYuan_GaoZhiChuYuan_ShiJian_1_DoubleClick(object sender, EventArgs e)
        {
            text_ChuYuan_GaoZhiChuYuan_ShiJian_1.Text = DateTime.Now.ToString("HH:mm");
        }
        private void text__ChuYuan_GaoZhiChuYuan_ShiJian_2_DoubleClick(object sender, EventArgs e)
        {
            text__ChuYuan_GaoZhiChuYuan_ShiJian_2.Text = DateTime.Now.ToString("HH:mm");
        }
        private void text__ChuYuan_GaoZhiChuYuan_ShiJian_3_DoubleClick(object sender, EventArgs e)
        {
            text__ChuYuan_GaoZhiChuYuan_ShiJian_3.Text = DateTime.Now.ToString("HH:mm");
        }
        //2、专科护理及康复知识指导。
        private void text_ChuYuan_ZhuanKeHuLi_ShiJian_1_DoubleClick(object sender, EventArgs e)
        {
            text_ChuYuan_ZhuanKeHuLi_ShiJian_1.Text = DateTime.Now.ToString("HH:mm");
        }
        private void text_ChuYuan_ZhuanKeHuLi_ShiJian_2_DoubleClick(object sender, EventArgs e)
        {
            text_ChuYuan_ZhuanKeHuLi_ShiJian_2.Text = DateTime.Now.ToString("HH:mm");
        }
        private void text_ChuYuan_ZhuanKeHuLi_ShiJian_3_DoubleClick(object sender, EventArgs e)
        {
            text_ChuYuan_ZhuanKeHuLi_ShiJian_3.Text = DateTime.Now.ToString("HH:mm");
        }
        //3、告知喂养知识，鼓励母乳喂养，及时添加辅食。
        private void text_ChuYuan_GaoZhiWeiYang_ShiJian_1_DoubleClick(object sender, EventArgs e)
        {
            text_ChuYuan_GaoZhiWeiYang_ShiJian_1.Text = DateTime.Now.ToString("HH:mm");
        }
        private void text_ChuYuan_GaoZhiWeiYang_ShiJian_2_DoubleClick(object sender, EventArgs e)
        {
            text_ChuYuan_GaoZhiWeiYang_ShiJian_2.Text = DateTime.Now.ToString("HH:mm");
        }
        private void text_ChuYuan_GaoZhiWeiYang_ShiJian_3_DoubleClick(object sender, EventArgs e)
        {
            text_ChuYuan_GaoZhiWeiYang_ShiJian_3.Text = DateTime.Now.ToString("HH:mm");
        }
        //4、告知保持皮肤及脐部清洁干燥，发现异常，及时就诊。
        private void text_ChuYuan_GaoZhiBaoChi_ShiJian_1_DoubleClick(object sender, EventArgs e)
        {
            text_ChuYuan_GaoZhiBaoChi_ShiJian_1.Text = DateTime.Now.ToString("HH:mm");
        }
        private void text_ChuYuan_GaoZhiBaoChi_ShiJian_2_DoubleClick(object sender, EventArgs e)
        {
            text_ChuYuan_GaoZhiBaoChi_ShiJian_2.Text = DateTime.Now.ToString("HH:mm");
        }

        private void text_ChuYuan_GaoZhiBaoChi_ShiJian_3_DoubleClick(object sender, EventArgs e)
        {
            text_ChuYuan_GaoZhiBaoChi_ShiJian_3.Text = DateTime.Now.ToString("HH:mm");
        }
        //5、告知预防感染的相关知识。
        private void text_ChuYuan_GaoZhiYuFang_ShiJian_1_DoubleClick(object sender, EventArgs e)
        {
            text_ChuYuan_GaoZhiYuFang_ShiJian_1.Text = DateTime.Now.ToString("HH:mm");
        }
        private void text_ChuYuan_GaoZhiYuFang_ShiJian_2_DoubleClick(object sender, EventArgs e)
        {
            text_ChuYuan_GaoZhiYuFang_ShiJian_2.Text = DateTime.Now.ToString("HH:mm");
        }
        private void text_ChuYuan_GaoZhiYuFang_ShiJian_3_DoubleClick(object sender, EventArgs e)
        {
            text_ChuYuan_GaoZhiYuFang_ShiJian_3.Text = DateTime.Now.ToString("HH:mm");
        }
        //6、引流管知识指导。
        private void text_ChuYuan_YinLiuGuanZhi_ShiJian_1_DoubleClick(object sender, EventArgs e)
        {
            text_ChuYuan_YinLiuGuanZhi_ShiJian_1.Text = DateTime.Now.ToString("HH:mm");
        }
        private void text_ChuYuan_YinLiuGuanZhi_ShiJian_2_DoubleClick(object sender, EventArgs e)
        {
            text_ChuYuan_YinLiuGuanZhi_ShiJian_2.Text = DateTime.Now.ToString("HH:mm");
        }
        private void text_ChuYuan_YinLiuGuanZhi_ShiJian_3_DoubleClick(object sender, EventArgs e)
        {
            text_ChuYuan_YinLiuGuanZhi_ShiJian_3.Text = DateTime.Now.ToString("HH:mm");
        }
        //7、出院带药的用法、注意事项。
        private void text_ChuYuan_ChuYuanDaiYao_ShiJian_1_DoubleClick(object sender, EventArgs e)
        {
            text_ChuYuan_ChuYuanDaiYao_ShiJian_1.Text = DateTime.Now.ToString("HH:mm");
        }
        private void text_ChuYuan_ChuYuanDaiYao_ShiJian_2_DoubleClick(object sender, EventArgs e)
        {
            text_ChuYuan_ChuYuanDaiYao_ShiJian_2.Text = DateTime.Now.ToString("HH:mm");
        }
        private void text_ChuYuan_ChuYuanDaiYao_ShiJian_3_DoubleClick(object sender, EventArgs e)
        {
            text_ChuYuan_ChuYuanDaiYao_ShiJian_3.Text = DateTime.Now.ToString("HH:mm");
        }
        //8、告知随访时间及随访的重要性。
        private void text_ChuYuan_GaoZhiSuiFang_ShiJian_1_DoubleClick(object sender, EventArgs e)
        {
            text_ChuYuan_GaoZhiSuiFang_ShiJian_1.Text = DateTime.Now.ToString("HH:mm");
        }
        private void text_ChuYuan_GaoZhiSuiFang_ShiJian_2_DoubleClick(object sender, EventArgs e)
        {
            text_ChuYuan_GaoZhiSuiFang_ShiJian_2.Text = DateTime.Now.ToString("HH:mm");
        }
        private void text_ChuYuan_GaoZhiSuiFang_ShiJian_3_DoubleClick(object sender, EventArgs e)
        {
            text_ChuYuan_GaoZhiSuiFang_ShiJian_3.Text = DateTime.Now.ToString("HH:mm");
        }
        //9、按期预防接种和儿保体检。
        private void text_ChuYuan_AnQiYuFang_ShiJian_1_DoubleClick(object sender, EventArgs e)
        {
            text_ChuYuan_AnQiYuFang_ShiJian_1.Text = DateTime.Now.ToString("HH:mm");
        }
        private void text_ChuYuan_AnQiYuFang_ShiJian_2_DoubleClick(object sender, EventArgs e)
        {
            text_ChuYuan_AnQiYuFang_ShiJian_2.Text = DateTime.Now.ToString("HH:mm");
        }
        private void text_ChuYuan_AnQiYuFang_ShiJian_3_DoubleClick(object sender, EventArgs e)
        {
            text_ChuYuan_AnQiYuFang_ShiJian_3.Text = DateTime.Now.ToString("HH:mm");
        }
        #endregion

        #endregion

        #region 双击显示当前日期

        #region 入院宣教
        //1、介绍责任护士、经管医生。
        private void date_RuYuan_JieShaoZeRen_RiQi_1_DoubleClick(object sender, EventArgs e)
        {
            date_RuYuan_JieShaoZeRen_RiQi_1.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        private void date_RuYuan_JieShaoZeRen_RiQi_2_DoubleClick(object sender, EventArgs e)
        {
            date_RuYuan_JieShaoZeRen_RiQi_2.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        private void date_RuYuan_JieShaoZeRen_RiQi_3_DoubleClick(object sender, EventArgs e)
        {
            date_RuYuan_JieShaoZeRen_RiQi_3.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        //2、介绍住院须知内容。
        private void date_RuYuan_JieShaoZhuYuan_RiQi_1_DoubleClick(object sender, EventArgs e)
        {
            date_RuYuan_JieShaoZhuYuan_RiQi_1.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        private void date_RuYuan_JieShaoZhuYuan_RiQi_2_DoubleClick(object sender, EventArgs e)
        {
            date_RuYuan_JieShaoZhuYuan_RiQi_2.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        private void date_RuYuan_JieShaoZhuYuan_RiQi_3_DoubleClick(object sender, EventArgs e)
        {
            date_RuYuan_JieShaoZhuYuan_RiQi_3.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        //3、介绍探视制度、病室环境。
        private void date_RuYuan_JieShaoTanShi_RiQi_1_DoubleClick(object sender, EventArgs e)
        {
            date_RuYuan_JieShaoTanShi_RiQi_1.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        private void date_RuYuan_JieShaoTanShi_RiQi_2_DoubleClick(object sender, EventArgs e)
        {
            date_RuYuan_JieShaoTanShi_RiQi_2.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        private void date_RuYuan_JieShaoTanShi_RiQi_3_DoubleClick(object sender, EventArgs e)
        {
            date_RuYuan_JieShaoTanShi_RiQi_3.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        //4、介绍专科疾病知识。
        private void date_RuYuan_JieShaoZhuanKe_RiQi_1_DoubleClick(object sender, EventArgs e)
        {
            date_RuYuan_JieShaoZhuanKe_RiQi_1.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        private void date_RuYuan_JieShaoZhuanKe_RiQi_2_DoubleClick(object sender, EventArgs e)
        {
            date_RuYuan_JieShaoZhuanKe_RiQi_2.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        private void date_RuYuan_JieShaoZhuanKe_RiQi_3_DoubleClick(object sender, EventArgs e)
        {
            date_RuYuan_JieShaoZhuanKe_RiQi_3.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        //5、告知保持联系电话通畅，便于及时联系。
        private void date_RuYuan_GaoZhiBaoChi_RiQi_1_DoubleClick(object sender, EventArgs e)
        {
            date_RuYuan_GaoZhiBaoChi_RiQi_1.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        private void date_RuYuan_GaoZhiBaoChi_RiQi_2_DoubleClick(object sender, EventArgs e)
        {
            date_RuYuan_GaoZhiBaoChi_RiQi_2.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        private void date_RuYuan_GaoZhiBaoChi_RiQi_3_DoubleClick(object sender, EventArgs e)
        {
            date_RuYuan_GaoZhiBaoChi_RiQi_3.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        //6、告知送母乳的时间及注意事项。
        private void date_RuYuan_GaoZhiSongMu_RiQi_1_DoubleClick(object sender, EventArgs e)
        {
            date_RuYuan_GaoZhiSongMu_RiQi_1.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        private void date_RuYuan_GaoZhiSongMu_RiQi_2_DoubleClick(object sender, EventArgs e)
        {
            date_RuYuan_GaoZhiSongMu_RiQi_2.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        private void date_RuYuan_GaoZhiSongMu_RiQi_3_DoubleClick(object sender, EventArgs e)
        {
            date_RuYuan_GaoZhiSongMu_RiQi_3.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        #endregion

        #region 住院期间健康教育
        //1、告知用药知识及治疗注意事项。
        private void date_ZhuYuan_GaoZhiYongYao_RiQi_1_DoubleClick(object sender, EventArgs e)
        {
            date_ZhuYuan_GaoZhiYongYao_RiQi_1.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        private void date_ZhuYuan_GaoZhiYongYao_RiQi_2_DoubleClick(object sender, EventArgs e)
        {
            date_ZhuYuan_GaoZhiYongYao_RiQi_2.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        private void date_ZhuYuan_GaoZhiYongYao_RiQi_13_DoubleClick(object sender, EventArgs e)
        {
            date_ZhuYuan_GaoZhiYongYao_RiQi_13.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        //2、告知预后及可能出现的并发症。
        private void date_ZhuYuan_GaoZhiYuHou_RiQi_1_DoubleClick(object sender, EventArgs e)
        {
            date_ZhuYuan_GaoZhiYuHou_RiQi_1.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        private void date_ZhuYuan_GaoZhiYuHou_RiQi_2_DoubleClick(object sender, EventArgs e)
        {
            date_ZhuYuan_GaoZhiYuHou_RiQi_2.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        private void date_ZhuYuan_GaoZhiYuHou_RiQi_3_DoubleClick(object sender, EventArgs e)
        {
            date_ZhuYuan_GaoZhiYuHou_RiQi_3.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        //3、探视时进行专科疾病知识指导。
        private void date_ZhuYuan_TanShiShiJin_RiQi_1_DoubleClick(object sender, EventArgs e)
        {
            date_ZhuYuan_TanShiShiJin_RiQi_1.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        private void date_ZhuYuan_TanShiShiJin_RiQi_2_DoubleClick(object sender, EventArgs e)
        {
            date_ZhuYuan_TanShiShiJin_RiQi_2.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        private void date_ZhuYuan_TanShiShiJin_RiQi_3_DoubleClick(object sender, EventArgs e)
        {
            date_ZhuYuan_TanShiShiJin_RiQi_3.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        //4、告知饮食情况及体重增长情况。
        private void date_ZhuYuan_GaoZhiYinShi_RiQi_1_DoubleClick(object sender, EventArgs e)
        {
            date_ZhuYuan_GaoZhiYinShi_RiQi_1.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        private void date_ZhuYuan_GaoZhiYinShi_RiQi_2_DoubleClick(object sender, EventArgs e)
        {
            date_ZhuYuan_GaoZhiYinShi_RiQi_2.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        private void date_ZhuYuan_GaoZhiYinShi_RiQi_3_DoubleClick(object sender, EventArgs e)
        {
            date_ZhuYuan_GaoZhiYinShi_RiQi_3.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        //5、检查前后指导。
        private void date_ZhuYuan_JianChaQianHou_RiQi_1_DoubleClick(object sender, EventArgs e)
        {
            date_ZhuYuan_JianChaQianHou_RiQi_1.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        private void date_ZhuYuan_JianChaQianHou_RiQi_2_DoubleClick(object sender, EventArgs e)
        {
            date_ZhuYuan_JianChaQianHou_RiQi_2.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        private void date_ZhuYuan_JianChaQianHou_RiQi_3_DoubleClick(object sender, EventArgs e)
        {
            date_ZhuYuan_JianChaQianHou_RiQi_3.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        //6、告知氧疗知识、必要性及潜在的并发症。
        private void text_ZhuYuan_GaoZhiYangHua_RiQi_1_DoubleClick(object sender, EventArgs e)
        {
            text_ZhuYuan_GaoZhiYangHua_RiQi_1.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        private void text_ZhuYuan_GaoZhiYangHua_RiQi_2_DoubleClick(object sender, EventArgs e)
        {
            text_ZhuYuan_GaoZhiYangHua_RiQi_2.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        private void text_ZhuYuan_GaoZhiYangHua_RiQi_3_DoubleClick(object sender, EventArgs e)
        {
            text_ZhuYuan_GaoZhiYangHua_RiQi_3.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        //7、有创操作相关知识告知。
        private void text_ZhuYuan_YouChuangCaoZuo_RiQi_1_DoubleClick(object sender, EventArgs e)
        {
            text_ZhuYuan_YouChuangCaoZuo_RiQi_1.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        private void text_ZhuYuan_YouChuangCaoZuo_RiQi_2_DoubleClick(object sender, EventArgs e)
        {
            text_ZhuYuan_YouChuangCaoZuo_RiQi_2.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        private void text_ZhuYuan_YouChuangCaoZuo_RiQi_3_DoubleClick(object sender, EventArgs e)
        {
            text_ZhuYuan_YouChuangCaoZuo_RiQi_3.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        #endregion

        #region 出院期间健康教育
        //1、告知出院结账手续办理流程。
        private void date_ChuYuan_GaoZhiChuYuan_RiQi_1_DoubleClick(object sender, EventArgs e)
        {
            date_ChuYuan_GaoZhiChuYuan_RiQi_1.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        private void date_ChuYuan_GaoZhiChuYuan_RiQi_2_DoubleClick(object sender, EventArgs e)
        {
            date_ChuYuan_GaoZhiChuYuan_RiQi_2.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        private void date_ChuYuan_GaoZhiChuYuan_RiQi_3_DoubleClick(object sender, EventArgs e)
        {
            date_ChuYuan_GaoZhiChuYuan_RiQi_3.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        //2、专科护理及康复知识指导。
        private void date_ChuYuan_ZhuanKeHuLi_RiQi_1_DoubleClick(object sender, EventArgs e)
        {
            date_ChuYuan_ZhuanKeHuLi_RiQi_1.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        private void date_ChuYuan_ZhuanKeHuLi_RiQi_2_DoubleClick(object sender, EventArgs e)
        {
            date_ChuYuan_ZhuanKeHuLi_RiQi_2.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        private void date_ChuYuan_ZhuanKeHuLi_RiQi_3_DoubleClick(object sender, EventArgs e)
        {
            date_ChuYuan_ZhuanKeHuLi_RiQi_3.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        //3、告知喂养知识，鼓励母乳喂养，及时添加辅食。
        private void date_ChuYuan_GaoZhiWeiYang_RiQi_1_DoubleClick(object sender, EventArgs e)
        {
            date_ChuYuan_GaoZhiWeiYang_RiQi_1.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        private void date_ChuYuan_GaoZhiWeiYang_RiQi_2_DoubleClick(object sender, EventArgs e)
        {
            date_ChuYuan_GaoZhiWeiYang_RiQi_2.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        private void date_ChuYuan_GaoZhiWeiYang_RiQi_3_DoubleClick(object sender, EventArgs e)
        {
            date_ChuYuan_GaoZhiWeiYang_RiQi_3.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        //4、告知保持皮肤及脐部清洁干燥，发现异常，及时就诊。
        private void date_ChuYuan_GaoZhiBaoChi_RiQi_1_DoubleClick(object sender, EventArgs e)
        {
            date_ChuYuan_GaoZhiBaoChi_RiQi_1.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        private void date_ChuYuan_GaoZhiBaoChi_RiQi_2_DoubleClick(object sender, EventArgs e)
        {
            date_ChuYuan_GaoZhiBaoChi_RiQi_2.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        private void date_ChuYuan_GaoZhiBaoChi_RiQi_3_DoubleClick(object sender, EventArgs e)
        {
            date_ChuYuan_GaoZhiBaoChi_RiQi_3.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        //5、告知预防感染的相关知识。
        private void date_ChuYuan_GaoZhiYuFang_RiQi_1_DoubleClick(object sender, EventArgs e)
        {
            date_ChuYuan_GaoZhiYuFang_RiQi_1.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        private void date_ChuYuan_GaoZhiYuFang_RiQi_2_DoubleClick(object sender, EventArgs e)
        {
            date_ChuYuan_GaoZhiYuFang_RiQi_2.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        private void date_ChuYuan_GaoZhiYuFang_RiQi_3_DoubleClick(object sender, EventArgs e)
        {
            date_ChuYuan_GaoZhiYuFang_RiQi_3.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        //6、引流管知识指导。
        private void date_ChuYuan_YinLiuGuanZhi_RiQi_1_DoubleClick(object sender, EventArgs e)
        {
            date_ChuYuan_YinLiuGuanZhi_RiQi_1.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        private void date_ChuYuan_YinLiuGuanZhi_RiQi_2_DoubleClick(object sender, EventArgs e)
        {
            date_ChuYuan_YinLiuGuanZhi_RiQi_2.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        private void date_ChuYuan_YinLiuGuanZhi_RiQi_3_DoubleClick(object sender, EventArgs e)
        {
            date_ChuYuan_YinLiuGuanZhi_RiQi_3.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        //7、出院带药的用法、注意事项。
        private void date_ChuYuan_ChuYuanDaiYao_RiQi_1_DoubleClick(object sender, EventArgs e)
        {
            date_ChuYuan_ChuYuanDaiYao_RiQi_1.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        private void date_ChuYuan_ChuYuanDaiYao_RiQi_2_DoubleClick(object sender, EventArgs e)
        {
            date_ChuYuan_ChuYuanDaiYao_RiQi_2.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        private void date_ChuYuan_ChuYuanDaiYao_RiQi_3_DoubleClick(object sender, EventArgs e)
        {
            date_ChuYuan_ChuYuanDaiYao_RiQi_3.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        //8、告知随访时间及随访的重要性。
        private void date_ChuYuan_GaoZhiSuiFang_RiQi_1_DoubleClick(object sender, EventArgs e)
        {
            date_ChuYuan_GaoZhiSuiFang_RiQi_1.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        private void date_ChuYuan_GaoZhiSuiFang_RiQi_2_DoubleClick(object sender, EventArgs e)
        {
            date_ChuYuan_GaoZhiSuiFang_RiQi_2.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        private void date_ChuYuan_GaoZhiSuiFang_RiQi_3_DoubleClick(object sender, EventArgs e)
        {
            date_ChuYuan_GaoZhiSuiFang_RiQi_3.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        //9、按期预防接种和儿保体检。 
        private void date_ChuYuan_AnQiYuFang_RiQi_1_DoubleClick(object sender, EventArgs e)
        {
            date_ChuYuan_AnQiYuFang_RiQi_1.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        private void date_ChuYuan_AnQiYuFang_RiQi_2_DoubleClick(object sender, EventArgs e)
        {
            date_ChuYuan_AnQiYuFang_RiQi_2.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        private void date_ChuYuan_AnQiYuFang_RiQi_3_DoubleClick(object sender, EventArgs e)
        {
            date_ChuYuan_AnQiYuFang_RiQi_3.Text = DateTime.Now.ToString("yyyy-MM-dd");
        }
        #endregion

        #endregion

        #region 设置 enter键当做Tab切换
        private void BindControl()
        {
            foreach (var c in groupControl1.Controls)
            {
                if (c is TextEdit)
                {
                    ((TextEdit)c).KeyUp += TextEdit_KeyUp;
                }
            }

            foreach (var c in groupControl2.Controls)
            {
                if (c is TextEdit)
                {
                    ((TextEdit)c).KeyUp += TextEdit_KeyUp;
                }
            }

            foreach (var c in groupControl3.Controls)
            {
                if (c is TextEdit)
                {
                    ((TextEdit)c).KeyUp += TextEdit_KeyUp;
                }
            }
        }
        /// <summary>
        /// 设置 enter键当做Tab切换
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>

        private void TextEdit_KeyUp(object sender, KeyEventArgs e)
        {
            if (e.KeyData == Keys.Enter)
            {
                SendKeys.SendWait("{Tab}");
            }
        }
        #endregion

    }
}
